import request from '@/router/axios';

export const getIntegralRule = () => {
  return request({
    url: '/base/mallConfig/integralRule',
    method: 'post'
  })
}

export const update = (integralRules) => {
  return request({
    url: '/base/mallConfig/integralRuleSave',
    method: 'post',
    meta: {
      isSerialize: true,
    },
    data: integralRules
  })
}
